<?php
require_once '../framework/config.php';
/*
//TEST DATABASE:
-----------------------------------------------
DROP TABLE IF EXISTS temp;
CREATE TABLE temp (
  username varchar(150) NOT NULL,
  password varchar(200) NOT NULL
);
-----------------------------------------------
*/
$global = &PEAR::getStaticProperty('CONFIG_INI','DSN');

$options = array(
    'dsn'         => $global['dsn_string'],
    'table'       => 'auth',
    'usernamecol' => 'user',
    'passwordcol' => 'password',
    'cryptType' => 'md5',
    'db_options' => array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)
);

$extra_options['username'] = 'test_user';
$extra_options['passwd'] = 'test_user';

?>
